package com.huluobo.base.db;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.huluobo.base.bean.Money;
import com.huluobo.base.bean.UserBeanResult;
import com.huluobo.base.bean.VideoBeanResult;

/**
 * Created by LC on 2024/8/20.
 */
@Database(entities = {UserBeanResult.UserBean.class, VideoBeanResult.VideoBean.class, Money.class}, version = 1,
        exportSchema =
                false)
public abstract class AppDatabase extends RoomDatabase {
    //数据库中需要返回对应的Dao,有几个表就写几个Dao的方法
    public abstract UserDao getUserDao();

    public abstract VideoDao getVideoDao();

    public abstract MoneyDao getMoneyDao();
}
